package csci5828.search;

public class SearchResult {
	private String source;     // Google, Yelp, etc..
	private String sourceRank; // Source's relevance ranking
	private String rating;     // Rating provided by the source
	private String url;        // URL to source link
	private String text;       // Text of the review
	private String businessName; // Name of the business
	private Double qualityScore; // quality of the review
	private Double normalizedRating; // Normalized Rating of Review
	
	public SearchResult(String source, String sourceRank, String rating,
			Double normRating, String url, String text, String businessName, 
			Double qualityScore) {
		super();
		this.source = source;
		this.sourceRank = sourceRank;
		this.rating = rating;
		this.normalizedRating = normRating;
		this.url = url;
		this.text = text;
		this.businessName = businessName;
		this.qualityScore = qualityScore;
	}

	public String getBusinessName() {
		return businessName;
	}

	public String getSource() {
		return source;
	}
	
	public String getSourceRank() {
		return sourceRank;
	}
	
	public String getRating() {
		return rating;
	}
	
	public String getUrl() {
		return url;
	}
	
	public String getText() {
		return text;
	}
	
	public Double getQualityScore() {
		return qualityScore;
	}
	
	public Double getNormalizedRating(){
		return normalizedRating;
	}
}
